<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>市数据汇聚</title>
    <style>
        body{padding: 20px;}
        .demo-input{padding-left: 10px; height: 38px; min-width: 262px; line-height: 38px; border: 1px solid #e6e6e6;  background-color: #fff;  border-radius: 2px;}

    </style>
    <script type="text/javascript" src="/laydate/laydate.js"></script>
</head>
<body>
<h1>
    市数据汇聚 <br/><br/>
    <form action="/subject">
        开始时间: <input type="text" class="demo-input" placeholder="请选择日期" id="test1" name="beginDate">
        结束时间:  <input type="text" class="demo-input" placeholder="请选择日期" id="test2" name="endDate">
        <button type="submit" class="layui-btn"> 数据提交</button>
    </form>


</h1>
</body>

<script>
    laydate.render({
        elem: '#test1'
    });
    laydate.render({
        elem: '#test2'
    });
</script>

</html>